import { useContext } from 'react';
import { Context } from '../index';

const Index = () => {
  const context = useContext(Context);
  return (
    <div>
      <div>{context?.name}</div>
    </div>
  );
};
export default Index;
